import request from "@/api/request";
export default {
    getList(){
        return request.get('/customer/list')
    },
    create(data){
        return request.post('/customer/create',data)
    },
    update(id,data){
        return request.post(`/customer/update/${id}`,data)
    },
    delete(id){
        return request.post(`/customer/delete/${id}`)
    }
}